<?php require(__INCLUDES__ . '/header.inc.php'); ?>
<?php $this->RenderBegin(); ?>

			<?php $this->pnlHeader->Render();
					?>
	
	<div id="dashboard">
		<div id="MainBody">
			<?php 
				if($_SESSION['User'] <> '')
				{
			?>
			<?php /*$this->pnlList->Render();*/	 $this->dtgShareDetails->Render(); 
				}
				else
				{
				?> 
			<div id="Login">
				<p align="left" style="font-size:14px;"><b><em><u>Sign into your account</u></em></b></p>
				<p><?php $this->txtUserId->RenderWithName();?></p>
				<p>
					<?php $this->txtPassword->RenderWithName();?>
					<?php $this->chkRemember->RenderWithName();?>
				</p>
				<p align="left" id="LoginButton"><?php $this->btnLogin->Render();?></p>
				
			</div>
		</div>
		<div id="information">
				<p style="font-size: 16px;"><b><u>Benifits of using Apitva.</u></b></p>
				<p>	<img src="../assets/images/48x48/note_accept.png" />&nbsp;&nbsp;&nbsp;&nbsp;Keep track of all the Books, Movies and CD's you have</p>
				<p>	<img src="../assets/images/48x48/promotion.png" />&nbsp;&nbsp;&nbsp;&nbsp;Share your library with others and view their library too</p>
				<p>	<img src="../assets/images/48x48/process.png" />&nbsp;&nbsp;&nbsp;&nbsp;Track your items which you have shared or borrowed</p>
				<p style="font-size: 15px;"><b>Still not a member <?php $this->lnkRegister->Render();?></b></p>
		</div>
		<?php } if(isset(QApplication::$AlertMessageArray))
						{
								foreach(QApplication::$AlertMessageArray as $val)
									QApplication::DisplayAlert($val);
						}
					 ?>		
	</div>

<?php $this->RenderEnd();?>
<?php require(__INCLUDES__ . '/footer.inc.php'); ?>
